﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucProduct.ascx.cs" Inherits="ucProduct"
    EnableViewState="true" %>
<asp:HiddenField runat="server" ID="hdnProductId" />
<asp:HiddenField runat="server" ID="hdnIndex" />
<asp:HiddenField runat="server" ID="hdnIsForModify" />
<asp:HiddenField runat="server" ID="hdnIsCos" />
<asp:HiddenField runat="server" ID="hdnIsDiscountProduct" />
<asp:HiddenField runat="server" ID="hdnMaterialId" />
<table width="320px" style="height: 100px;" cellspacing="0" cellpadding="0" border="0">
    <tr style="height: 15px;">
        <td style="background-image: url(images/reg_contur_01.png); background-repeat: no-repeat;
            border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
        </td>
        <td style="background-image: url(images/sus_repeat.png); background-repeat: repeat-x;
            border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
        </td>
        <td style="background-image: url(images/reg_contur_03.png); background-repeat: no-repeat;
            border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
        </td>
    </tr>
    <tr>
        <td style="background-image: url(images/stanga_repeat.png); background-position: left;
            background-repeat: repeat-y; border-style: none; margin-left: 0; margin-top: 0;
            margin-bottom: 0; margin-right: 0; width: 15px;">
        </td>
        <td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;
            background-image: url(images/pixelutz.png); background-repeat: repeat;">
            <table style="height: 200px; background-color: #FAAC10;">
                <tr style="height: 10px;">
                    <td colspan="2" align="center" style="width: 300px; height: 10px;">
                        <asp:Label runat="server" ID="lblName" Font-Names="Verdana" Font-Bold="true" Font-Size="Small"></asp:Label><br />
                        <asp:TextBox runat="server" ID="txtInfo" CssClass="labelAvailable" BorderStyle="None"
                            Width="75px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="width: 300px; height: 10px;">
                        <asp:Label runat="server" ID="lblClick" Text="click pe imagini pt. marire" CssClass="clickDescription"></asp:Label>
                    </td>
                </tr>
                <tr style="height: 60px;">
                    <td align="left" style="width: 95px; height: 60px;">
                        <a rel="facebox" runat="server" id="aFacebook">
                            <img id="imgPhoto" runat="server" height="130" width="95" src="" alt="" style="background-color: Transparent;
                                border-style: none;" title="Click pentru a mari" />
                        </a>
                    </td>
                    <td align="left" style="width: 155px; height: 60px;" valign="top">
                        <asp:Label runat="server" ID="lblDescription" Text="Descriere:" CssClass="label"
                            Font-Bold="true"></asp:Label><br />
                        <asp:TextBox runat="server" ID="txtDescription" TextMode="MultiLine" Width="175px"
                            Height="50px" BorderStyle="None" Font-Names="Verdana" Font-Size="X-Small" Font-Overline="false"
                            CssClass="noscrool" BackColor="Transparent"></asp:TextBox>
                        <asp:LinkButton runat="server" ID="lnk" Text="Detalii" Font-Names="Verdana" ForeColor="DarkGreen"
                            Font-Size="10px"></asp:LinkButton>
                        <%-- <br />
                       
                        <br />
                        <asp:Label runat="server" ID="lblDiscount" CssClass="labelError" Font-Bold="true"></asp:Label>--%>
                        <br />
                        <table>
                            <tr>
                                <td align="center">
                                    <asp:Label runat="server" ID="lblPrice" Text="Pret(lei)" CssClass="label"></asp:Label>
                                    <asp:UpdatePanel runat="server" ID="UpdatePanel2">
                                        <ContentTemplate>
                                            <asp:TextBox runat="server" ID="txtPrice" Width="50px" BorderStyle="Solid" BackColor="White"
                                                Font-Names="Verdana" Font-Size="X-Small" ForeColor="DarkRed" Font-Bold="true"
                                                BorderColor="#009247"></asp:TextBox>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </td>
                                <td align="center">
                                    <asp:Label runat="server" ID="lblCant" Text="Cantitate(buc)" CssClass="label"></asp:Label>
                                    <asp:UpdatePanel runat="server" ID="UpdatePanel3">
                                        <ContentTemplate>
                                            <asp:TextBox runat="server" ID="txtCant" Width="50px" BorderStyle="Solid" BackColor="White"
                                                Font-Names="Verdana" Font-Size="X-Small" ForeColor="Black" BorderColor="#009247"
                                                Font-Bold="true"></asp:TextBox>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            <%--    <tr style="height: 50px;">
                </tr>--%>
                <tr>
                    <td colspan="2">
                        <asp:Button runat="server" ID="btnSave" Text="Salvare" OnClick="btnSave_Click" Visible="false"
                            Font-Names="Verdana" Font-Size="X-Small" />
                    </td>
                </tr>
                <tr style="height: 10px;">
                    <td colspan="2" style="width: 250px; height: 10px;">
                        <asp:UpdatePanel runat="server" ID="updError">
                            <ContentTemplate>
                                <asp:Label runat="server" ID="lblError" Font-Bold="true" Font-Size="X-Small" ForeColor="DarkRed"
                                    Visible="false" Text="Error" Font-Names="Verdana"></asp:Label>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                </tr>
            </table>
        </td>
        <td style="background-image: url(images/dreapta_repeat.png); background-position: left;
            background-repeat: repeat-y; border-style: none; margin-left: 0; margin-top: 0;
            width: 15px;">
        </td>
    </tr>
    <tr style="height: 15px;">
        <td style="background-image: url(images/reg_contur_07.png); background-repeat: no-repeat;
            border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
        </td>
        <td style="background-image: url(images/jos_repeat.png); background-position: left;
            background-repeat: repeat-x; border-style: none; margin-top: 0; margin-bottom: 0;
            margin-right: 0; margin-left: 0;">
        </td>
        <td style="background-image: url(images/reg_contur_09.png); background-repeat: no-repeat;
            border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
        </td>
    </tr>
</table>
